#ifndef EGG_SHAPEENTITY_H
#define EGG_SHAPEENTITY_H

#include "Entity3D.h"
#include "Geometry.h"
#include "ShaderParamMap.h"

namespace egg{

    class ShapeEntity:public Entity3D{
    public:
        ShapeEntity();
        RenderPriority getPriority();
        virtual void onAttached(SceneNode* node);
        virtual void _draw(const FrameEvent& evt);
    protected:
        ShaderPtr mShader;
        GeometryPtr mGeometry;
        NumericParamPtr mMvpMatrix;
        ShaderParamMap mParamMap;
    };

}

#endif